How to find derivatives of exponential and logarithmic functions